// Learn TypeScript:
//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html

import { ENUM_AUDIO_CLIP, ENUM_UI_TYPE } from "../scripts/Enum";
import AudioManager from "../scripts/manager/AudioManager";
import { StaticInstance } from "../scripts/StaticInstance";

const {ccclass, property} = cc._decorator;

@ccclass
export default class myMenuLayer extends cc.Component {


  onLoad(){
    console.log('情侣飞行棋 load');

    
}


  onclickZxhGameBtn() {
    AudioManager.instance.playSound(ENUM_AUDIO_CLIP.CLICK)
    this.node.getChildByName("zxhGamePanel").active = true;
  }


}
